package ch4;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class SExInput {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.println("请输入性别，0表示男，其他表示女");
        int choice=in.nextInt();
        String sex=choice==0?"男":"女";
        System.out.println(sex);
    }
}
